package com.evil.account.pojo.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.io.Serializable;
import java.util.Date;

/**
 * 企业表
 *
 * @author liyang
 * @date 2022-08-08 00:00
 */
@Data
@TableName(value = "evil_enterprise")
public class Enterprise implements Serializable {

    /**
     * id
     */
    @TableId(value = "enterprise_id", type = IdType.AUTO)
    private Long enterpriseId;

    /**
     * 企业名称
     */
    @TableField(value = "enterprise_name")
    private String enterpriseName;

    /**
     * 登录LOGO图片id
     */
    @TableField(value = "login_logo_file_id")
    private Long loginLogoFileId;

    /**
     * 系统LOGO图片id
     */
    @TableField(value = "system_logo_file_id")
    private Long systemLogoFileId;

    /**
     * 导出LOGO图片id
     */
    @TableField(value = "export_logo_file_id")
    private Long exportLogoFileId;

    /**
     * 系统名称
     */
    @TableField(value = "system_name")
    private String systemName;

    /**
     * 描述|简介
     */
    @TableField(value = "description")
    private String description;

    /**
     * 备注
     */
    @TableField(value = "remark")
    private String remark;

    /**
     * 地址
     */
    @TableField(value = "address")
    private String address;

    /**
     * 电话
     */
    @TableField(value = "tel")
    private String tel;

    /**
     * 传真
     */
    @TableField(value = "fax")
    private String fax;

    /**
     * 邮编
     */
    @TableField(value = "post_code")
    private String postCode;

    /**
     * 邮箱
     */
    @TableField(value = "email")
    private String email;

    /**
     * 网址
     */
    @TableField(value = "website_url")
    private String websiteUrl;

    /**
     * 税号
     */
    @TableField(value = "tax_no")
    private String taxNo;

    /**
     * 平台类型 0企业 1平台
     */
    @TableField(value = "platform_type")
    private Integer platformType;

    /**
     * 是否已禁用(0:禁用, 1:开启)
     */
    @TableField(value = "is_enable")
    private Integer isEnable;

    /**
     * 是否已删除(0:否, 1:是)
     */
    @TableField(value = "is_deleted")
    private Integer isDeleted;

    /**
     * 创建人
     */
    @TableField(value = "creator_id")
    private Long creatorId;

    /**
     * 创建人名字
     */
    @TableField(value = "creator_name")
    private String creatorName;

    /**
     * 修改操作人
     */
    @TableField(value = "modifier_id")
    private Long modifierId;

    /**
     * 修改操作人名字
     */
    @TableField(value = "modifier_name")
    private String modifierName;

    /**
     * 创建时间
     */
    @TableField(value = "created")
    private Date created;

    /**
     * 更新时间
     */
    @TableField(value = "updated")
    private Date updated;

    private static final long serialVersionUID = 1L;

    public static final String COL_ENTERPRISE_ID = "enterprise_id";

    public static final String COL_ENTERPRISE_NAME = "enterprise_name";

    public static final String COL_LOGIN_LOGO_FILE_ID = "login_logo_file_id";

    public static final String COL_SYSTEM_LOGO_FILE_ID = "system_logo_file_id";

    public static final String COL_EXPORT_LOGO_FILE_ID = "export_logo_file_id";

    public static final String COL_SYSTEM_NAME = "system_name";

    public static final String COL_DESCRIPTION = "description";

    public static final String COL_REMARK = "remark";

    public static final String COL_ADDRESS = "address";

    public static final String COL_TEL = "tel";

    public static final String COL_FAX = "fax";

    public static final String COL_POST_CODE = "post_code";

    public static final String COL_EMAIL = "email";

    public static final String COL_WEBSITE_URL = "website_url";

    public static final String COL_TAX_NO = "tax_no";

    public static final String COL_PLATFORM_TYPE = "platform_type";

    public static final String COL_IS_ENABLE = "is_enable";

    public static final String COL_IS_DELETED = "is_deleted";

    public static final String COL_CREATOR_ID = "creator_id";

    public static final String COL_CREATOR_NAME = "creator_name";

    public static final String COL_MODIFIER_ID = "modifier_id";

    public static final String COL_MODIFIER_NAME = "modifier_name";

    public static final String COL_CREATED = "created";

    public static final String COL_UPDATED = "updated";
}